#ifndef CLIENT_H
#define CLIENT_H

#include <Ice/Ice.h>
#include "Printer.h"
#include <iostream>
#include <map>
#include <string>

using namespace std;
using namespace PPApp;

class NewBankClient
{
	public:

		NewBankClient() {
			ClientIniti();
		}

		void ClientIniti();
		void ClientDestroy();

		virtual PPApp::ResultA NewBankAccountInfoServer( const string& userid );

		virtual PPApp::ResultA NewBankCongealThawServer( const string& userid , short action );

		virtual PPApp::ResultA NewBankUserMoneyquantumGet(const string& );

		virtual void NewBankAddGoldTest( const string& userid , Ice::Int gold , const string& frombanknum , const string& objid );

		virtual PPApp::ResultC NewBankServerActionB( const PPApp::ResultB& InputArray, const string & frombanknum );

		virtual PPApp::ResultC NewBankServerActionSequenceB(const PPApp::SequenceResultB& SequenceInputArray, const string& frombanknum );

		~NewBankClient() {
			ClientDestroy();
		}
	private:

		Ice::CommunicatorPtr ic;

		PrinterPrx printer;

};

#endif

